#pragma once
//#include "rdobject.h"
#include "wezel.h"
#include "tree.h"
#include "Node.h"
#include<string.h>
using namespace std;
class Root :
	public Node
{
	//private:
public:

	//int X,Y,colour;    	
public:
//    wezel* TreeNode;
	Root(string Name,int x,int y,int Colour) ;
	
	int getX() {return X;};
	int getY() {return Y;};
	int getColour() {return colour;};
	string getTreeName() {return NodeName;};
	void changeTreeName(string newTreeName) {NodeName = newTreeName;};
	void changeColour(int Colour){colour=Colour;};
	void moveRoot(int dX,int dY){X+=dX;Y+=dY;};
	~Root(void);        //ew przeniesienie drzewa
};
